package com.ysd.lis.service.lab;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.Result;
import com.ysd.lis.dto.UploadCipherText;
import com.ysd.lis.entity.lab.LabInstrSetup;
import com.ysd.lis.request.AddInstrSetupParam;
import com.ysd.lis.request.DeleteParam;
import com.ysd.lis.request.InstrSetupPageParam;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author bai
 * @since 2023-12-09
 */
public interface LabInstrSetupService extends IService<LabInstrSetup> {
    Result findLabInstrSetup(InstrSetupPageParam instrSetupPageParam);

    Result findLabInstrSetupList(String rptGroupId);
    Result findInstrSetupAndChannelList(String rptGroupId,String itemNo);

    Result addLabInstrSetup(AddInstrSetupParam addInstrSetupParam);

    Result editLabInstrSetup(AddInstrSetupParam addInstrSetupParam);

    Result deleteLabInstrSetup(DeleteParam deleteParam);

    Result getInstrSetupList(InstrSetupPageParam instrSetupPageParam);

    LabInstrSetup findRptGroupByInstrCode(String instrCode,String orgId);

    /*同步仪器*/
    Result syncInstrs();
    Result findStaInsterLogList();
    Result uploadRegisterFile(MultipartFile file, HttpServletRequest request) throws Exception;
    Result uploadRegisterCipherText(UploadCipherText uploadCipherText) throws Exception;
}
